package com.itany.mybatis.dao;

import com.itany.mybatis.entity.HeroType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Description: 类的描述
 * Author: liudaolin@itany.com
 * Date: 2021/07/19 16:00
 * Version: 1.0 版本信息
 */
public interface HeroTypeDao {
    List<HeroType> selectAll1();

    HeroType selectByTypeId(@Param("id") Integer typeId);

    // 一对多映射 1
    List<HeroType> selectAll2();
    // 一对多映射 2
    List<HeroType> selectAll3();
    // 一对多映射 3
    List<HeroType> selectAll4();
}
